package dk.liljedahl.christian.apx.junk;

import processing.core.PApplet;
import processing.core.*;

//Launch this, the Processing thingy. This will open the UI thingy.

public class ProcessingProcess extends PApplet{

	public void setup() {
		size(300, 300);
		background(255);
		fill(0);		
		
		// Instantiate the UI - Using "this" to make it possible for the UI to reference this
		//SwtArduinoUI mySwtUI = new SwtArduinoUI(this);
		//Thread mySwtUIThread = new Thread(mySwtUI);

 	//Start the UI-threads
		//mySwtUIThread.start();
		
	}
	// position is public, to make it accessible from SwtUI
	public int position = 30;
	public void draw() {
		  background(255);

		  ellipse(position, 150, 25, 25);
		}
}
